import java.util.ArrayList;

/*
    货物摆放
 */
public class test15 {
    public static void main(String[] args) {
        long num = 2021041820210418l;
        ArrayList<Long> arr = new ArrayList<>();
        for ( long i = 1 ; i <= Math.sqrt(num) ; i++ ){
            if (num%i==0){
                arr.add(i);
                long n = num / i;
                if (n != i){
                    arr.add(n);
                }
            }
        }

        int count = 0;
        for ( long i : arr ){
            for ( long j : arr ){
                for ( long k : arr ){
                    if ( i * j * k == num ){
                        count++;
                    }
                }
            }
        }
        System.out.println(count);


    }
}
